@echo off

set gitUrl="https://gitee.com/weizu_cool/f-server.git"

set /p branch=git branch[master]:
set /p commitInfo=git commit[]:


if "%branch%" == "" (set branch="master")

if "%commitInfo%" == "" (set commitInfo="update codes.")

git add .
git commit -m %commitInfo%
git push origin %branch%



pause